package com.bitrate.dagger.server.websocket.handler;

import org.tio.core.ChannelContext;

import com.bitrate.dagger.sdk.websocket.enums.PushBizType;
import com.bitrate.dagger.sdk.websocket.request.WebSocketRequest;

/**
 * WebSocket业务处理策略基类
 */
public interface WebSocketStrategyHandler {

	/**
	 * @param 初始化
	 */
	Boolean init(PushBizType type);

	/**
	 * @return 执行
	 */
	void execute(WebSocketRequest request, ChannelContext channelContext);

}
